
<h3 class="page-header">设备品牌列表 
<a href="<?= URL::site('deviceBrands/add');?>" class="ajax-modal-sm">+</a>
</h3>

<div class="table-responsive">
<table class="table table-hover table-bordered">
<thead>
<tr>
	<th>ID</th>
	<th>品牌名称</th>
	<th>所属设备</th>
	<th>状态</th>
</tr>
</thead>
<tbody id="cat-list">
<?php foreach($list as $item): ?>
<tr>
	<td><?= $item['id'] ?></td>
	<td class="drag-handle"><?= $item['name'] ?></td>
	<td><?= $item['device_name'] ?></td>
	<td class="<?= $item['status']=='open' ? 'text-info' : 'text-danger' ?>"><?= $item['status'] ?></td>

</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<?= $pager?>
